package com.example.exam.service;

import com.example.exam.mapper.RoleIntefaceMapper;
import com.example.exam.service.imp.RoleIntefaceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyRoleIntefaceService  implements RoleIntefaceService {

    @Autowired
    RoleIntefaceMapper roleIntefaceMapper;

    @Override
    public List<String> selectRoleAndInteByInteName(String name) {
        return  roleIntefaceMapper.selectRoleAndInteByInteName(name);
    }
}
